/**
 * 
 */
package br.com.carser.annotations.validator;

import javax.validation.ConstraintValidator;
import javax.validation.ConstraintValidatorContext;

/**
 * Validator to verify unique constraint in database.
 * 
 * @author Eduardo T. Serete
 */
public class UniqueConstraintValidator implements ConstraintValidator<UniqueConstraint, Object> {
	

	@Override
	public void initialize(UniqueConstraint constraintAnnotation) {
	}

	@Override
	public boolean isValid(Object object, ConstraintValidatorContext constraintContext) {
		return false;
	}

	
}
